package com.pd.backend.domain.entity;


import lombok.Data;
import io.swagger.annotations.ApiModelProperty;


/**
 * 用户实体
 */
@Data
public class PdAuthUser {


	/**
	 * ID
	 */
	@ApiModelProperty(value = "ID", position = 0)
	private Long id;

	/**
	 * 账号
	 */
	@ApiModelProperty(value = "账号", position = 1)
	private String account;

	/**
	 * 姓名
	 */
	@ApiModelProperty(value = "姓名", position = 2)
	private String name;

	/**
	 * 组织ID
#c_core_org
	 */
	@ApiModelProperty(value = "组织ID", position = 3)
	private Long orgId;

	/**
	 * 岗位ID
#c_core_station
	 */
	@ApiModelProperty(value = "岗位ID ", position = 4)
	private Long stationId;

	/**
	 * 邮箱
	 */
	@ApiModelProperty(value = "邮箱", position = 5)
	private String email;

	/**
	 * 手机
	 */
	@ApiModelProperty(value = "手机", position = 6)
	private String mobile;

	/**
	 * 性别
#Sex{W:女;M:男;N:未知}
	 */
	@ApiModelProperty(value = "性别 ", position = 7)
	private String sex;

	/**
	 * 启用状态 1启用 0禁用
	 */
	@ApiModelProperty(value = "启用状态 1启用 0禁用", position = 8)
	private String status;

	/**
	 * 头像
	 */
	@ApiModelProperty(value = "头像", position = 9)
	private String avatar;

	/**
	 * 工作描述
比如：  市长、管理员、局长等等   用于登陆展示
	 */
	@ApiModelProperty(value = "工作描述 ", position = 10)
	private String workDescribe;

	/**
	 * 最后一次输错密码时间
	 */
	@ApiModelProperty(value = "最后一次输错密码时间", position = 11)
	private String passwordErrorLastTime;

	/**
	 * 密码错误次数
	 */
	@ApiModelProperty(value = "密码错误次数", position = 12)
	private Integer passwordErrorNum;

	/**
	 * 密码过期时间
	 */
	@ApiModelProperty(value = "密码过期时间", position = 13)
	private String passwordExpireTime;

	/**
	 * 密码
	 */
	@ApiModelProperty(value = "密码", position = 14)
	private String password;

	/**
	 * 最后登录时间
	 */
	@ApiModelProperty(value = "最后登录时间", position = 15)
	private String lastLoginTime;

	/**
	 * 创建人id
	 */
	@ApiModelProperty(value = "创建人id", position = 16)
	private Long createUser;

	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间", position = 17)
	private String createTime;

	/**
	 * 更新人id
	 */
	@ApiModelProperty(value = "更新人id", position = 18)
	private Long updateUser;

	/**
	 * 更新时间
	 */
	@ApiModelProperty(value = "更新时间", position = 19)
	private String updateTime;


}
